<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>记录时间</title>
		<link rel="stylesheet" href="css/home.css">
		<link rel="stylesheet" href="layui/css/layui.css">
	</head>
	<body>
		
		<div id="header">
		    <div class="nav">
		        <a href="#" class="logo">Lee Blog</a>
		        <div id="nav-btn" class="btn">
		            <i id="btn" class="layui-icon layui-icon-addition"></i>
		        </div>
		        <ul class="nav-bar">
					<li><a href="home.html" th:href="@{/admin}">首页</a></li>
					<li><a href="technology.html" th:href="@{/write}">写文章</a></li>
					<li><a href="life.html" th:href="@{/writeTime}">记录时间</a></li>
		        </ul>
		    </div>
		</div>
		
		<div class="layui-fluid btn-nav">
		    <ul>
				<li><a href="home.html" th:href="@{/admin}">首页</a></li>
				<li><a href="technology.html" th:href="@{/write}">写文章</a></li>
				<li><a href="life.html" th:href="@{/writeTime}">记录时间</a></li>
		    </ul>
		</div>
		
		<div class="layui-fluid" style="margin-top: 25px;">
			<form action="" th:action="@{/doWriteTime}" class="layui-form">
				
				<div class="layui-form-item layui-anim layui-anim-up">
				    <label class="layui-form-label">时间</label>
				    <div class="layui-input-block">
				        <input type="text" name="time" required  lay-verify="required" placeholder="请输入文章名称" autocomplete="off" class="layui-input">
				    </div>
				</div>
		
				<div class="layui-form-item layui-form-text layui-anim layui-anim-up">
				    <label class="layui-form-label">事件</label>
				    <div class="layui-input-block">
				        <textarea name="thing" required lay-verify="required" placeholder="请输入文章摘要" class="layui-textarea"></textarea>
				    </div>
				</div>

				<div class="layui-form-item layui-anim layui-anim-up">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
					</div>
				</div>

			</form>
		</div>
		
		
		<script src="layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			layui.use('form', function(){
				var form = layui.form;
			});
		</script>
		
	</body>
</html>
